<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    function People(name , height,weight){
        this.name=name
        this.height=height
        this.weight=weight
        this.say= function(){
            console.log(name+ "hello ")
        }

    }
   let people1=new  People("张三",192,111)
    console.log(people1.name)
    console.log(people1['height'])
   people1.say()
   console.log(people1)
   console.log("====================")
   let people2=new People("李四",111,111)
   console.log(people2.name)
   console.log(people2['height'])
   console.log(people2)
   people2.say();
</script>
</html>